Copyright: ®1996David Stoll RR#1, Mill Bay BC V0R 2P0 CANADA
Citation: Contents are believed to be accurate.


nonoRGB Color Hexadecimal CalculatorRGByesyesyesnono&AboutC&loseTRUEyes27/08/96


Table of Contents

RGB Color Hexadecimal Calculator

Set RGB Values

Set Copy Options to Clipboard

Set Copy Options to Auto Paste

Register RGB Color Hexadecimal Calculator

Introduction

Format

Application

Installation of RGB Hex

HTML 3.2 elements using #rrggbb notation include:

Menu OptionsBack to Menu


RGB Color Hexadecimal Calculator

   Installation of RGB Hex

   Introduction

   Set RGB Values

   Set Copy Options to Clipboard

   Set Copy Options to Auto Paste

   Menu Options

   Register RGB Color Hexadecimal Calculator


Installation of RGB Hex

System Requirements:

   PC with Windows 3.1 or higher

   Program files, including supporting files, require about 200k hard drive space.

Installation:

If a setup program is included, run setup.exe

for step by step installation prompts.

If there is no setup program with this distribution

(some distribution sites do not permit this), then

install the RGB Hex program files to a temporary directory.

Place these files in: C:\RGBHEX

(Or a directory of your choice.)

   RGB.EXE

   RGB.HLP

   README.TXT

Place these files in: C\WINDOWS\SYSTEM

(Or where .dll and .vbx are kept on your system.)

(Not required if a newer version is there already.)

   COMMDLG.DLL

   CMDIALOG.VBX

VBRUN300.DLL is not included but is widely available.

Add the RGB Hex program startup icon.


Introduction

Quick, what are the colors displayed in this HTML tag?

<BODY bgcolor="#ffffff" LINK="#0000ee" VLINK="#660099" ALINK="#ff0000" TEXT="#000000">

The hexadecimal Red Green and Blue (hex RGB) values are not the easiest to visualize or convert from decimal values to include in the HTML 3.2 Netscape and Internet Explorer color elements. Many HTML editors have limited or no options to graphically display or calculate the RGB color triplet in hexadecimal notation. RGB Color Hexadecimal Calculator (RGB Hex) adds these features to your favorite HTML editor.

RGB Hex Feature Highlights

   RGB by number or color entry methods

   see a sample color of the RGB value,

   shows decimal RGB values,

   shows hexadecimal RGB values,

   format hex values as hex, #hex, or "#hex"

   format hex values as upper or lower case,

      AND

   paste the hex RGB value into your web page

   in the format selected.

RGB is the method used to indicate how much Red, Green, and Blue quantities are needed to create a particular color. Each color can have a minimum value of zero and a maximum of 255 decimal, or 0 to FF in hexadecimal notation.

There are 16,777,215 decimal, or FFFFFF in hexadecimal, RGB color combinations possible. A computer system depending on the monitor resolution, VGA card, and video driver, and WWW browser may permit viewing all these colors, or as few as 16.

Any configuration may be used to view your web page. Your web page designer responsibility is to choose color combinations that will look good in any viewing situation.

Selecting Options in RGB Hex

RGB Hex can use either the mouse or keyboard control.

  Mouse:

     Point and Click with left button.

    Click and Drag to change scroll bar values

  Keyboard:

    Tab key sets focus on next action.

    Cursor left-right decrease and increase values.

    Cursor up-down select copy method, and menu options.

    ALT and underlined letter selects menu item.

    CTRL and letter selects other options ie. c for Copy RGB.

Back to Menu


Set RGB Values

RGB results are displayed:

   As a sample color.

   As a RGB hexadecimal value

   As individual Red, Green, and Blue

    Decimal and Hexadecimal values.

To Set the RGB Values:

1. Use the Scroll Bars:

Mouse: Click and slide the bar, or click on the end arrows for the amount of each color.

Keyboard: TAB key selects, cursor keys move slider, END moves slider to minimum value while HOME moves to the maximum.

2. Use the Color Dialog:

From the Display menu select Color Dialog. The Color Dialog shows the current scroll bar color values. The Color Dialog contain more options to fine tune to select a color by seeing the color. Change the RGB color in the Spectrum Box, Basic Colors, or Enter numeric values.

Custom colors may be added for reference. There is presently no option to save custom color selections when exiting RGB Hex.

OK hides the Color Dialog, the scroll bars are updated with the selected RGB values.

Cancel exits Color Dialog. Scroll bar values remain unchanged.

Back to Menu


Set Copy Options to Clipboard

Paste the RGB hexadecimal value to a HTML editor.

   Method 1. Use the Windows clipboard. (Default)

   Method 2. Use the RGB Hex Auto Paste function.

Suggestion: Use the clipboard method if you are not sure where you left the cursor in your HTML editor.

	The Clipboard radio button must be selected.

STEPS TO USE THE WINDOWS CLIPBOARD METHOD.

1. Set the desired format from the Format Menu.

2. Select the RGB value with scroll bars or color dialog.

3. Select Copy RGB button. The RGB value is now on the Windows clipboard in the format shown below the Copy RGB button.

4. Switch to your HTML editor.

5. Position the cursor to the desired location to paste.

6. Select the HTML editor Paste function.

7. That's it! The RGB hexadecimal value is added to the document.

Back to Menu


Set Copy Options to Auto Paste

Paste the RGB hexadecimal value to a HTML editor.

   Method 1. Use the Windows clipboard.

   Method 2. Use the RGB Hex Auto Paste function.

Caution:	Auto Paste will paste the RGB value at the cursor position in the HTML document. Before leaving the HTML document be sure the cursor is left where you want to insert the RGB value.
	The Auto Paste radio button must be selected.

STEPS TO USE THE RGB HEX AUTO PASTE METHOD.

PART 1: Telling RGB Hex where to paste the RGB value.

RGB Hex does not know the name of the web page document or the HTML editor being used until you select its name. The task list shows all Windows applications active at the time RGB Hex was first started. The task list is grayed out (inactive) in the Clipboard method and activated when Auto Paste is selected.

1. Select from the task list the web page document to be the target for the Auto Paste action. In the example above, the task already selected from the task list is the document WEB.HTM opened in the Write application.

2. If you opened your document in an HTML editor AFTER starting RGB Hex it will not be in the task list. Update the task list using the Application - Refresh List Menu. This also removes any tasks that have been closed since starting RGB Hex.

3. Select the web page document by name from the drop down portion of the task list.

Caution:	Pasting to a task that is NOT a web page document will have unknown consequences.

PART 2: Now Auto Paste away!

1. Set the desired RGB format in the Format Menu.

2. Select the RGB value with scroll bars or color dialog.

3. Select the COPY RGB button.

RGB Hex moves to the background, and the selected task is displayed. Automatically the formatted RGB value is pasted at the current cursor position in the document.

4. Reposition the cursor to the next place to insert an RGB value, switch back to RGB Hex and repeat the steps in PART 2 as often as needed.

Back to Menu


Menu Options

Exit    Close and exit RGB Hex.

   No options or selections are saved.

Format    Select format style for both

   RGB display and paste to HTML editor.

   UPPER CASE RGB or  lower case rgb

   Paste as: hhhhhh

   Paste as #hhhhhh

   Paste as "#hhhhhh"

   Default: Upper case without quote marks or #.

   This sample shows the six format styles:

Paste as	Upper case	Lower case
hhhhhh	F2B64E	f2b64e
#hhhhhh	#F2B64E	#f2b64e
"#hhhhhh"	"#F2B64E"	"#f2b64e"

Display

   Color Dialog    Opens the Color Dialog

   Select from up to 16 million colors, if system display

   supports these many colors.

Application

   Refresh List    Updates list of Auto Paste applications.

   Programs opened after this program are added to the list.

   Programs closed after opening this program are removed.

Help

   Index	    Displays this help file (F1 key is a shortcut).

   About RGB Hex    Displays information about this program.

Back to Menu


Register RGB Color Hexadecimal Calculator

RGB Color Hexadecimal Calculator is NOT FREE!

This is a fully functional copy. There are no registration passwords, no time controls, and no popup messages asking you to register. RGB Color Hexadecimal Calculator comes with no warranty. Enjoy using RGB Hex, but please....

Register your copy if you continue to use

this program after 30 days.

Registration is easy!

Fee:

   $ 5.00 -Individual registration

   $20.00 -institution registration

   (or equivalent in local currency.)

Enclose fee with:

   Your name

   Address

   Phone/Fax/E-mail

   How you obtained RGB Hex

Mail to:

   David Stoll

   RR#1, 2447 Bidston Road

   Mill Bay, BC  V0R 2P0

   CANADA

  <dstoll@smus.bc.ca>

Comments and Bug Reports Welcome.

What if I don't register RGB Hex?

   You have to live with yourself.

   Don't expect to see a new version.

Back to Menu


HTML 3.2 elements using #rrggbb notation include:

BODY tag for text: TEXT="#rrggbb"

BODY tag for hypertext links: LINK="#rrggbb"

BODY tag for visitined links: VLINK="#rrggbb"

BODY tag for active link: ALINK="#rrggbb"

Tag for backgrounds of pages, etc.: BGCOLOR="#rrggbb"

Tag for colors of fonts, etc.: COLOR="#rrggbb"

Table tag sets border color: BORDERCOLOR="#rrggbb"

Table tag sets 3-D border color: BORDERCOLORLIGHT="#rrggbb"

Table tag sets 3-D border color: BORDERCOLORDARK="#rrggbb"